<template>
	<view class="reset_pass">
		<!-- 表单 -->
		<reset-form v-show="curStep == 1" tit="重置密码" @nextStep="inputResetAccount" />

		<reset-form v-show="curStep == 2" tit="验证身份" phone="176****0190" @nextStep="inputResetCode" />

		<reset-form v-show="curStep == 3" tit="设置密码" @nextStep="inputResetPass" />
	</view>
</template>

<script>
import resetForm from './components/resetForm.vue'

export default {
	components: { resetForm },
	data() {
		return { curStep: 1 }
	},
	methods: {
		//输入账号，下一步
		inputResetAccount() {
			this.curStep = 2
		},
		// 手机验证码, 下一步
		inputResetCode() {
			this.curStep = 3
		},
		// 设置密码, 下一步
		inputResetPass() {}
	}
}
</script>

<style lang="scss">
page {
	background-color: #fff;
}

.reset_pass {
}
</style>
